Added link_exists function, for neatness. Check for the existence of the pdev
authoremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Tue, 15 Nov 2005 14:54:51 +0000 (15:54 +0100)
committeremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Tue, 15 Nov 2005 14:54:51 +0000 (15:54 +0100)
commit946f9a1879dba4845c40db69f71779a027e1a876
tree52867c7214d3d4d7a0d230e1dd1125735b9d1039
parent7845e5bb1185df14379b31f928fd2ee31d124c9b
Added link_exists function, for neatness.  Check for the existence of the pdev
before issuing the diagnostic about the missing vdev.  Having a pdev but no
vdev is a strong indicator that the network-bridge script has run once already,
and so there is nothing to worry about.  Having the vdev and no corresponding
pdev is still diagnosed.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/examples/network-bridge